package com.cuoyi.coupon.mall.utils;

import com.cuoyi.coupon.mall.constant.BusinessConstant;
import com.cuoyi.coupon.mall.constant.CommonConstant;

/**
 * @author zhang.cheng
 * 2022-02-28 21:03
 **/

public class TransCodeUtils {

    public static String transCodeNoGenerator(Integer count) {
        String format = String.format(BusinessConstant.LENGTH, count == null ? 0 : count + CommonConstant.Number.ONE);
        return BusinessConstant.PREFIX + format;
    }
}
